package org.aurora.remote.netty;

import io.netty.channel.Channel;
import org.aurora.remote.RemoteConnectionEvent;

public class NettyEvent extends RemoteConnectionEvent {
    private final NettyEventType type;
    private final Channel channel;

    public NettyEvent(NettyEventType type, Channel channel) {
        this.type = type;
        this.channel = channel;
    }

    public NettyEventType getType() {
        return type;
    }

    public Channel getChannel() {
        return channel;
    }
}
